/* pages/message/message.wxss */
.msg_container {
    padding-bottom: calc(40rpx + 88rpx + env(safe-area-inset-bottom));
    min-height: 100vh;
    // background-color: #f8f0df;

    .msg-list {
        padding: 0 20rpx;

        .van-divider {
            margin: 0;
        }

        .list-item {
            margin-top: 20rpx;
            position: relative;
            padding: 20rpx;
            // border: 1px solid #a5646d;
            border-radius: 16rpx;
            // box-shadow: 6rpx 6rpx 14rpx #a5646d;
            z-index: 5;

            .van-icon {
                position: absolute;
                right: 20rpx;
                bottom: 20rpx;
            }

            .add-con {
                margin: 20rpx 0 0;
                padding: 0 20rpx 8rpx;
                text-align: justify;
                word-break: break-all;
                // color: #a5646d;
            }

            .list-bottom {
                display: flex;
                justify-content: space-between;
                align-items: center;
                // margin-top: 0.4267rem;
                height: 60rpx;
                color: #999;
                font-size: 28rpx;

                .add-user {
                    display: flex;
                    align-items: center;

                    image {
                        margin-right: 20rpx;
                        width: 60rpx;
                        height: 60rpx;
                        border-radius: 60rpx;
                    }

                    .user {
                        // color: #a5646d;
                        width: 200rpx;
                        white-space: nowrap;
                        /*内容超宽后禁止换行显示*/
                        overflow: hidden;
                        /*超出部分隐藏*/
                        text-overflow: ellipsis;
                        /*文字超出部分以省略号显示*/
                    }

                }

                .add-time {
                    height: 100%;
                    font-size: 28rpx;
                    line-height: 68rpx;
                }
            }

            .msg-img,
            .msg-img4 {
                display: flex;
                align-items: center;
                flex-wrap: wrap;

                .img-con {
                    margin: 10rpx 10rpx 0 0;
                    display: flex;
                    align-items: center;

                    image {
                        width: 150rpx;
                        height: 150rpx;
                    }


                }
            }


            .msg-img {
                .img-con {
                    &:nth-child(3n) {
                        margin-right: calc(750rpx - 100rpx - 450rpx);
                    }
                }
            }

            .msg-img4 {
                .img-con {
                    &:nth-child(2n) {
                        margin-right: calc(750rpx - 90rpx - 300rpx);
                    }
                }
            }

            .con {
                margin-top: 20rpx;

                .reply_list {
                    position: relative;
                    // padding-left: 50rpx;
                    padding-left: 20rpx;
                }

                .comment_list {
                    position: relative;
                    margin-top: 10rpx;
                    display: flex;

                    .list_img {
                        display: flex;
                        margin-right: 10rpx;

                        image {
                            margin-right: 10rpx;
                            width: 50rpx;
                            height: 50rpx;
                            border-radius: 50%;
                        }

                        .code {
                            // margin-top: 4rpx;
                            font-size: 30rpx;
                        }
                    }

                    .list_con {
                        flex: 1;
                        font-size: 28rpx;
                        word-break: break-all;
                    }
                }

                .handle_comment {
                    display: flex;
                    position: absolute;
                    top: -70rpx;
                    left: 50%;
                    transform: translateX(-50%);
                    // background-color: #fff;
                    border-radius: 10rpx;

                    .handlebtn {
                        margin: 10rpx 20rpx;
                        // color: #252525;
                        font-size: 28rpx;
                    }

                    .sanjiao {
                        position: absolute;
                        bottom: -28rpx;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 0;
                        height: 0;
                        border: 15rpx solid #fff;
                        border-bottom-color: transparent;
                        border-left-color: transparent;
                        border-right-color: transparent;
                    }
                }
            }

            .tools {
                margin-top: 20rpx;
                display: flex;
                justify-content: flex-end;

                .btn {
                    font-size: 26rpx;
                }
            }

            .van-icon {
                // color: #a5646d;
                font-weight: 600;
            }

            .comment_ipt {
                margin-top: 20rpx;
                display: flex;

                textarea {
                    flex: 1;
                    padding: 0 5rpx;
                    // width: 100%;
                    height: 100rpx;
                    border-radius: 10rpx;
                    box-sizing: border-box;
                    font-size: 30rpx;
                }

                .send-btn {
                    margin-left: 10rpx;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 85rpx;
                    font-size: 28rpx;
                    border-radius: 10rpx;
                }
            }
        }
    }

    .empty-container {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);

        .van-empty {
            // padding-top: 30vh;
            padding: 0;
        }

        .van-empty__image {
            width: 200rpx;
            height: 200rpx;

            image {
                width: 100%;
                height: 100%;
            }
        }

        // .van-empty__description {
        //   color: #a5646d;
        // }
        .empty-text {
            margin-top: -70rpx;
            width: 100%;
            font-size: 28rpx;
            text-align: center;
        }
    }
}